FROM swr.cn-east-2.myhuaweicloud.com/xinchao-test/java:8

RUN mkdir -p /blade

ENV TZ=Asia/Shanghai

WORKDIR /blade

EXPOSE 8080

ADD ./target/idphoto.jar ./app.jar

ENTRYPOINT ["java","-Dspring.profiles.active=prod", "-jar", "app.jar"]